import request from '@/utils/request'

// 数据总览
export function dataCount(query) {
    return request({
        url: '/analysis/dataCount',
        method: 'get',
        params: query
    })
}

// 今日签单统计
export function userAction(query) {
    return request({
        url: '/analysis/currentDay',
        method: 'get',
        params: query
    })
}

// 客户留存量、留存趋势
export function queryDataChainGrowth(query) {
    return request({
        url: '/analysis/customerTrendStock',
        method: 'get',
        params: query
    })
}

// 订单趋势、订单量
export function queryOrderTrendStock(query) {
    return request({
        url: '/analysis/orderTrendStock',
        method: 'get',
        params: query
    })
}
